export default {
  namespaced:true,
  state:{
    token:'',
    username:''
  },
  mutations:{
    updateToken(state,payload){
      state.token=payload;
    },
    clearToken(state){
      state.token=''
    },
    updateUsername(state,payload){
      state.username=payload
    },
    clearUsername(state){
      state.username=""
    }
  },
  actions:{

  }
}